package com.example.basic.web.model.roleVsMenu;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.basic.base.IdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * @author zzl
 * @since 2024-3-14
 */
@Data
@TableName("sys_role_vs_menu")
@ApiModel(value="RoleVsMenu对象", description="角色与菜单列表对照表")
public class RoleVsMenu extends IdEntity {

    @ApiModelProperty(value = "数据id")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "角色编码")
    @TableField("role_code")
    private String roleCode;

    @ApiModelProperty(value = "菜单编码")
    @TableField("menu_code")
    private String menuCode;

    @ApiModelProperty(value = "系统类型")
    @TableField("sys_type")
    private String sysType;
}